﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using WeifenLuo.WinFormsUI.Docking;
using XbdSoft.Domain; 

namespace XbdSoft
{
    public partial class XbdSettingsForm : Form
    {
        private XbdSettings Settings = new XbdSettings();

        public XbdSettingsForm()
        {
            InitializeComponent();
        }

        public void ReloadSettings()
        { 
        }

        private void SelectDownloadFolderButton_Click(object sender, EventArgs e)
        {
            DownloadFolderBrowserDialog.ShowDialog();
            if (!string.IsNullOrEmpty(DownloadFolderBrowserDialog.SelectedPath))
            {
                Settings.DownloadFolderPath = DownloadFolderBrowserDialog.SelectedPath;
            }
        }

        private void CanceclButton_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void SaveButton_Click(object sender, EventArgs e)
        {
            // Save Settings
        }
    }
}
